package com.zhixin.fans.ks.ui.base;

import com.zhixin.fans.ks.CoupleApp;
import com.zhixin.fans.ks.dagger.components.CoupleAppComponent;

import org.eenie.common.base.BaseActivity;
import org.eenie.common.base.BaseApp;
import org.eenie.common.dagger.components.AppComponent;


public abstract class BaseDaggerActivity extends BaseActivity {


    public AppComponent getApplicationComponent() {
        return ((BaseApp) getApplication()).getApplicationComponent();
    }


    public CoupleAppComponent getCoupleAppComponent() {
        return ((CoupleApp) getApplication()).getCoupleAppComponent();
    }







}
